<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Kobets.Automation.Chimera.Common" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Kobets.Automation.Chimera.Common" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://auto-sql-srv.imagenet.co.il:8081/chimeracontroller?xsd=xsd3" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:import schemaLocation="http://auto-sql-srv.imagenet.co.il:8081/chimeracontroller?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:simpleType name="Enums.ControllerStatus">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Idle" />
      <xs:enumeration value="Busy" />
      <xs:enumeration value="Disconnected" />
      <xs:enumeration value="Error" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="Enums.ControllerStatus" nillable="true" type="tns:Enums.ControllerStatus" />
  <xs:complexType name="ArrayOfAgent">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Agent" nillable="true" type="tns:Agent" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfAgent" nillable="true" type="tns:ArrayOfAgent" />
  <xs:complexType name="Agent">
    <xs:sequence>
      <xs:element xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="Attributes" nillable="true" type="q1:ArrayOfKeyValueOfstringstring" />
      <xs:element minOccurs="0" name="Controller" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Group" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NetworkName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Status" type="tns:Enums.AgentStatus" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Agent" nillable="true" type="tns:Agent" />
  <xs:simpleType name="Enums.AgentStatus">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Idle" />
      <xs:enumeration value="Running" />
      <xs:enumeration value="Disconnected" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="Enums.AgentStatus" nillable="true" type="tns:Enums.AgentStatus" />
  <xs:complexType name="WorkLoad">
    <xs:sequence>
      <xs:element minOccurs="0" name="DistributionStyle" type="tns:Enums.DistributionStyle" />
      <xs:element minOccurs="0" name="EnableSLM" type="xs:boolean" />
      <xs:element minOccurs="0" name="ExecutionPath" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Group" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PathToSln" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SlnName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TestCases" nillable="true" type="tns:ArrayOfTestCase" />
      <xs:element minOccurs="0" name="TfsProjectUri" nillable="true" type="xs:anyURI" />
      <xs:element minOccurs="0" name="UseTFS" type="xs:boolean" />
      <xs:element minOccurs="0" name="User" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="WorkLoad" nillable="true" type="tns:WorkLoad" />
  <xs:simpleType name="Enums.DistributionStyle">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Duplicate" />
      <xs:enumeration value="Even" />
      <xs:enumeration value="Manual" />
      <xs:enumeration value="PerProfile" />
      <xs:enumeration value="Random" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="Enums.DistributionStyle" nillable="true" type="tns:Enums.DistributionStyle" />
  <xs:complexType name="ArrayOfTestCase">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="TestCase" type="tns:TestCase" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfTestCase" nillable="true" type="tns:ArrayOfTestCase" />
  <xs:complexType name="TestCase">
    <xs:annotation>
      <xs:appinfo>
        <IsValueType xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</IsValueType>
      </xs:appinfo>
    </xs:annotation>
    <xs:sequence>
      <xs:element minOccurs="0" name="AdvisorName" nillable="true" type="xs:string" />
      <xs:element xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="Attributes" nillable="true" type="q2:ArrayOfKeyValueOfstringstring" />
      <xs:element minOccurs="0" name="Profile" type="tns:Profile" />
      <xs:element minOccurs="0" name="ProjectFileName" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="TestCase" nillable="true" type="tns:TestCase" />
  <xs:complexType name="Profile">
    <xs:annotation>
      <xs:appinfo>
        <IsValueType xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</IsValueType>
      </xs:appinfo>
    </xs:annotation>
    <xs:sequence>
      <xs:element minOccurs="0" name="DXVersion" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Folder" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IsPATest" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsPostPublish" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsSingleVendor" type="xs:boolean" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Priority" type="xs:int" />
      <xs:element minOccurs="0" name="ProfileType" type="tns:Enums.ProfileType" />
      <xs:element minOccurs="0" name="SMXRuntimeName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Serial" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Username" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Weight" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Profile" nillable="true" type="tns:Profile" />
  <xs:simpleType name="Enums.ProfileType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="DX" />
      <xs:enumeration value="Sprint" />
      <xs:enumeration value="SXP" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="Enums.ProfileType" nillable="true" type="tns:Enums.ProfileType" />
</xs:schema>